package cn.phonevane.service;

import cn.phonevane.model.TUser;

/**
 * �û�����ӿ�
 * 
 * @author xuanaiwu
 */
public interface UserService {
	/**
	 * 增加用户
	 * @param object 
	 * @return boolean
	 */
	public boolean add(Object object);
	
	/**
	 * �˶��û用户登录
	 * @param username
	 * @param password
	 * @return
	 */
	public TUser check(String username,String password);
	
	/**
	 * �˶��û�用户注册
	 * @param username
	 * @return
	 */
	public boolean checkUsername(String username);
	

}
